package com.huangliusong.springboot.dubbo.springbootdubbo;

import com.alibaba.dubbo.config.annotation.Reference;
import org.springframework.stereotype.Component;

/**
 * @author huangliusong
 * @since 2019/1/1
 * {@link }
 */
@Component
public class QuickstartConsumer {

    @Reference
    ServiceAPI serviceAPI;


    public  void sendMessage(String message){
        System.out.println(serviceAPI.sendMessage(message));
    }
}
